<?php
/*
 * @Author: lujizhang
 * @Date: 2020-05-20 17:39:16
 * @LastEditors: lujizhang
 * @LastEditTime: 2020-11-25 15:00:03
 * @Descripttion: 
 * @version: 
 */

namespace app\api\model;
use think\Db;

class Signature {
    public function makeSignature($appId,$timeStamp
        ,$apiUri){

        $str="appId=".$appId."&appKey=".$appKey."&timeStamp=".$timeStamp."&apiUri=".$apiUri;
        $signature = md5($str);
        // $signature = hash('sha256',$str);
        return $signature;
    }
}